<?php
/**
 * Created by PhpStorm
 * Author Hui
 * Date 2024/5/19   0:23
 */

namespace designpatterns\facade;

use designpatterns\Facade;

class Env extends Facade
{
    /**
     * @see \designpatterns\tool\Env
     * @package designpatterns\facade
     * @method static void load(string $file) 读取环境变量定义文件
     * @method static mixed get(string $name = null, mixed $default = null) 获取环境变量值
     * @method static void set(string|array $env, mixed $value = null) 设置环境变量值
     * @method static bool has(string $name) 检测是否存在环境变量
     * @method static void __set(string $name, mixed $value) 设置环境变量
     * @method static mixed __get(string $name) 获取环境变量
     * @method static bool __isset(string $name) 检测是否存在环境变量
     */
    protected static function getFacadeClass()
    {
        return 'designpatterns\tool\env';
    }
}